package com.basic.business.prodRel.mapper;

import com.basic.business.prodRel.domain.TProdRelMain;
import com.basic.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品关系Mapper接口
 *
 * @author zhaoxy_jn@163.com
 */
public interface TProdRelMainMapper extends BaseMapper<TProdRelMain> {

    /**
     * 批量更新状态
     * @param ids 主键编号集合
     * @param status 状态
     */
    public int updateStatusByIds(@Param("ids") String[] ids,@Param("status") String status);

    /**
     * 获取商品id集合
     */
    public List<String> getProductIds();

}
